package com.malie.myspringboot.mybatis;

import com.malie.myspringboot.common.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MybatisDemoMapper {
    List<UserEntity> findAll();

    List<UserEntity> findAll2();

    List<UserEntity> findAll3(Integer id);

    List<UserEntity> findAll4(UserEntity userEntity);

    List<UserEntity> findAll5(@Param("userEntity") UserEntity userEntity);
}
